package extenddemo;

public abstract class DogClass {

    public void legs(){
        System.out.println("狼和狗都有四条腿");
    }

    public void tails(){
        System.out.println("狼和狗都有尾巴");
    }

    public abstract void eat();
}
